package com.buaa.aimall.userModule.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum UserType {
    NORMAL_USER("0", "NORMAL_USER"),
    MODEL_PROVIDER("1", "MODEL_PROVIDER"),
    COMPUTE_PROVIDER("2", "COMPUTE_PROVIDER");

    @EnumValue
    public final String code;

    @JsonValue
    public final String name;
}
